// ---------- HEADER ----------
.header {
  font-family: Gilroy, sans-serif;


  // ---------- HEADER-TOP-LINE
  &__top-line {
    height: 50px;

    .container {

      .row {
        justify-content: space-between;

        .text-menu {
          justify-content: space-between;
        }

        div {
          height: 50px;
          display: flex;
          justify-content: space-evenly;
          align-items: center;

          p {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            font-style: normal;
            font-weight: 400;
            font-size: 18px;
            line-height: 26px;
            color: #ffffff;
            letter-spacing: -0.1px;
          }

          img {
            margin-right: 3px;
          }

        }

        .contacts {
          p {
            font-size: 16px;
            font-weight: 600;
          }
        }

        .callback {
          height: 28px;
          width: 150px;
        }
      }
    }
  }

  // ---------- HEADER-TOP-LINE MEDIA
  @media (max-width: 1240px) {
    .header {
      &__top-line {
        .container {
          .row {
            justify-content: space-between;

            p {
              margin-right: 5px;
            }

            .contacts {
              display: none;
            }
          }
        }
      }
    }
  }
  @media (max-width: 986px) {
    .header {
      &__top-line {
        .container {
          .row {
            .col-2 {
              display: none;
            }
          }
        }
      }
    }
  }
  @media (max-width: 650px) {
    .header {
      .container {
        .row {
          justify-content: space-evenly;

          .col-2 {
            display: none;
          }
        }
      }
    }
  }
  @media (max-width: 600px) {
    .header {
      &__top-line {
        display: none;
      }
    }
  }
  @media (max-width: 450px) {
    .header {
      &__top-line {
        display: none;
      }
    }
  }
  // ---------- ----------


  // ---------- HEADER-NAVBAR
  &__navbar {
    height: auto;
    min-height: 87px;
    display: flex;
    align-items: center;

    div {
      justify-content: center;
      align-items: center;
    }

    &-catalogue {
      display: flex;

      .catalogue-button {
        justify-content: space-evenly;
        height: 34px;
        color: black;
        border: none;

        span {
          font-size: 18px;
          padding-left: 10px;
        }
      }
    }

    &-search-form {
      label {
        position: relative;
        width: 100%;

        input {
          width: 100%;
          height: 41px;
          left: 740px;
          top: 72px;
          border: 1px solid #FFFFFF;
          border-radius: 8px;
          outline: none;
          background-color: $brand-black;
        }

        button {
          position: absolute;
          top: 3px;
          right: 3px;
          background-color: $brand-yellow;
          width: 34px;
          height: 34px;
          border-radius: 8px;
          border: none;
        }
      }
    }


    &-menu {
      display: flex;

      button:nth-child(1) {
        width: 222px;
      }

      .navbar-menu__item {
        border: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 150px;
        height: 50px;
        background-color: transparent;
        color: #FFFFFF;
      }
    }
  }

  // ---------- HEADER-NAVBAR MEDIA
  @media (max-width: 1010px) {
    .catalogue-button {
      width: 35px;
      height: 35px;

      span {
        display: none;
      }
    }

    .navbar-menu__item {
      height: 100%;

      span {
        display: none;
      }
    }
  }
  @media (max-width: 768px) {
    .header {
      &__navbar {
        height: auto;

        div {
          margin: 5px 0;
        }

        &-logo {
          order: 1;
        }

        &-catalogue {
          order: 3
        }

        &-search-form {
          order: 4;
        }

        &-menu {
          order: 2;
        }
      }
    }

  }
  @media (max-width: 500px) {
    .header {
      &__navbar {
        &-logo {
          width: 40%;
        }

        &-menu {
          width: 60%;
        }

        &-catalogue {
          max-width: 20%;
        }

        &-search-form {
          max-width: 80%;
        }
      }
    }
  }
  // ---------- ----------

  // ---------- HEADER-BOT-LINE
  &__bot-line {
    height: 41px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    .container {
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      p {
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 20px;
        text-transform: uppercase;
        color: #FFFFFF;
        text-align: center;
        padding: 0 10px;
      }

      .mobile__numbers {
        display: none;
      }
    }
  }


  // ---------- HEADER-BOT-MEDIA
  @media (max-width: 640px) {
    &__bot-line {
      .container {
        align-items: center;
        justify-content: right;
        p {
          display: none ;
        }

        .mobile__numbers {
          img {
            padding-right: 5px;
          }
          align-items: center;
          display: flex;
        }
      }
    }
  }

}


